<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>控制后台</title>
    <link href="/favicon.ico" rel="icon">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=adminassets?>assets/pear/component/pear/css/pear.css" />
    <link rel="stylesheet" href="<?=adminassets?>assets/css/main.css" />
    
</head>

<body class="pear-container">
    <div class="dashboard-container">
        <!-- 顶部欢迎区域 -->
        <div class="welcome-header animate-fadeInUp">
            <div class="welcome-title">
                <span><?=hello_user("超级管理员")?></span>
                <span class="welcome-date"><?=date("Y-m-d");?></span>
            </div>
            <div class="welcome-subtitle" id="hitokoto">
               <h3 id="hitokoto"><?=$this->CurlUrl->yiyan()?></h3>
            </div>
            <div class="welcome-weather">
                <iframe width="100%" scrolling="no" height="60" frameborder="0" allowtransparency="true" 
                    src="https://i.tianqi.com/index.php?c=code&id=12&icon=1&num=5&site=12">
                </iframe>
            </div>
        </div>

        <!-- 快捷方式区域 -->
        <div class="shortcut-grid">
            <a href="./site" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.1s">
                <div class="shortcut-icon" style="background: rgba(255, 192, 105, 0.1); color: #ffc069;">
                    <i class="layui-icon layui-icon-slider"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">系统配置</div>
                    <div class="shortcut-desc">管理系统基础设置</div>
                </div>
            </a>

            <a href="./User" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.2s">
                <div class="shortcut-icon" style="background: rgba(24, 144, 255, 0.1); color: #1890ff;">
                    <i class="layui-icon layui-icon-group"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">会员管理</div>
                    <div class="shortcut-desc">管理系统用户账户</div>
                </div>
            </a>

            <a href="./consume" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.3s">
                <div class="shortcut-icon" style="background: rgba(149, 222, 100, 0.1); color: #95de64;">
                    <i class="layui-icon layui-icon-chart-screen"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">数据总览</div>
                    <div class="shortcut-desc">查看系统运营数据</div>
                </div>
            </a>

            <a href="./Package" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.4s">
                <div class="shortcut-icon" style="background: rgba(255, 156, 110, 0.1); color: #ff9c6e;">
                    <i class="layui-icon layui-icon-cart"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">会员套餐</div>
                    <div class="shortcut-desc">管理会员套餐配置</div>
                </div>
            </a>

            <a href="./Log" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.5s">
                <div class="shortcut-icon" style="background: rgba(179, 127, 235, 0.1); color: #b37feb;">
                    <i class="layui-icon layui-icon-picture"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">操作日志</div>
                    <div class="shortcut-desc">查看系统操作记录</div>
                </div>
            </a>

            <a href="./Qrlist" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.6s">
                <div class="shortcut-icon" style="background: rgba(255, 214, 102, 0.1); color: #ffd666;">
                    <i class="layui-icon layui-icon-layer"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">收款账户</div>
                    <div class="shortcut-desc">管理系统收款方式</div>
                </div>
            </a>

            <a href="./Notice" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.7s">
                <div class="shortcut-icon" style="background: rgba(92, 219, 211, 0.1); color: #5cdbd3;">
                    <i class="layui-icon layui-icon-email"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">通知公告</div>
                    <div class="shortcut-desc">管理系统通知信息</div>
                </div>
            </a>

            <a href="./Update" class="shortcut-card animate-fadeInUp" style="animation-delay: 0.8s">
                <div class="shortcut-icon" style="background: rgba(255, 133, 192, 0.1); color: #ff85c0;">
                    <i class="layui-icon layui-icon-auz"></i>
                </div>
                <div class="shortcut-info">
                    <div class="shortcut-title">在线更新</div>
                    <div class="shortcut-desc">更新系统到最新版本</div>
                </div>
            </a>
        </div>

        <!-- 系统信息区域 -->
        <div class="info-section">
            <div class="info-card animate-fadeInUp" style="animation-delay: 0.9s">
                <div class="info-card-header">系统信息</div>
                <div class="info-card-body">
                    <table class="info-table">
                        <tr>
                            <td>版本序列号</td>
                            <td><?= Version?></td>
                        </tr>
                        <tr>
                            <td>操作系统</td>
                            <td><?= $_SERVER['SERVER_SOFTWARE'] ?></td>
                        </tr>
                        <tr>
                            <td>平台地址</td>
                            <td><?= $_SERVER['HTTP_HOST'] ?></td>
                        </tr>
                        <tr>
                            <td>PHP版本</td>
                            <td><?= phpversion() ?></td>
                        </tr>
                        <tr>
                            <td>MySQL版本</td>
                            <td><?=$this->globalState->get('DB_VERSION')?></td>
                        </tr>
                    </table>
                </div>
            </div>

            <div class="info-card animate-fadeInUp" style="animation-delay: 1s">
                <div class="info-card-header">快捷方式</div>
                <div class="info-card-body">
                    <a href="https://auth.daoh.top/" target="_blank" class="quick-link quick-link-primary">
                        <i class="layui-icon layui-icon-home"></i> 官网
                    </a>
                    <a href="#" target="_blank" class="quick-link quick-link-success">
                        <i class="layui-icon layui-icon-read"></i> 文档
                    </a>
                    <a href="https://auth.daoh.top/?s=authchaxun" target="_blank" class="quick-link quick-link-danger">
                        <i class="layui-icon layui-icon-search"></i> 授权查询
                    </a>
                    <a href="#" target="_blank" class="quick-link quick-link-warning">
                        <i class="layui-icon layui-icon-service"></i> 官方客服
                    </a>
                </div>
            </div>
        </div>
    </div>

    <script src="<?=adminassets?>assets/pear/component/layui/layui.js"></script>
    <script src="<?=adminassets?>assets/pear/component/pear/pear.js"></script>
</body>
</html>